package com.ruoyi.bearing.service;

import com.ruoyi.bearing.domain.BearingModel;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.OutputStream;

/**
 * 特征分析
 */
public interface IBearingFeatureService {
    /**
     * 特征提取
     */
    public String startBearingFeatureExtraction(MultipartFile file, BearingModel bearingModel) throws IOException, IllegalAccessException;

    /**
     * 特征提取
     */
    public String startBearingFeatureSelection(MultipartFile file, BearingModel bearingModel) throws IOException, IllegalAccessException;

    /**
     * 将csv文件传递给前端
     */
    public void csvToVue(String filePath, OutputStream outputStream) throws IOException;
}
